﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="NewsEdit.aspx.cs" Inherits="Spider_NewsEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="../edit/jquery/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="../edit/xheditor-zh-cn.src.js"></script>
    <script type="text/javascript" language="javascript">
        var selectValue = new Array();
        $(pageInit);
        function pageInit() {
            $('#txtSummary,').xheditor();
            $("#txtContent").xheditor({ upLinkUrl: "/upload/upload.aspx", upLinkExt: "zip,rar,txt", upImgUrl: "/upload/upload.aspx", upImgExt: "jpg,jpeg,gif,png", upFlashUrl: "/upload/upload.aspx", upFlashExt: "swf", upMediaUrl: "/upload/upload.aspx", upMediaExt: "wmv,avi,wma,mp3,mid", shortcuts: { 'ctrl+enter': submitForm} })

            function submitForm() { $("frmDemo").submit(); }

        }
    </script>
</head>
<body>
    <form id="form1" method="post" runat="server">
    <div>
      <table width="98%" border="0" cellspacing="0" cellpadding="0" class="data_list_table">
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th>&nbsp;</th>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <th width="100" align="right">标题：</th>
          <td>
              <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">是否发布：</th>
          <td>
              <asp:CheckBox ID="chkEnable" runat="server" Text="是否发布" />
            </td>
        </tr>
        <tr>
          <th align="right">概要：</th>
          <td>
              <asp:TextBox ID="txtSummary" runat="server" Rows="4" TextMode="MultiLine" 
                  Width="80%"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">内容：</th>
          <td>
              <asp:TextBox ID="txtContent" runat="server" Rows="12" TextMode="MultiLine" 
                  Width="80%"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">作者：</th>
          <td>
              <asp:TextBox ID="txtAuthor" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">出处：</th>
          <td>
              <asp:TextBox ID="txtSource" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">关键字：</th>
          <td>
              <asp:TextBox ID="txtKey" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">股票代码：</th>
          <td>
              <asp:TextBox ID="txtStock" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th align="right">发布时间：</th>
          <td>
              <asp:TextBox ID="txtPTime" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
          <th>&nbsp;</th>
          <td>
              <asp:Button ID="btnSubmit" runat="server" Text="修 改" onclick="btnSubmit_Click" 
                  style="height: 21px" />
            &nbsp;<asp:Button ID="btnDel" runat="server" onclick="btnDel_Click" Text="删 除" />
            </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>
              <asp:HiddenField ID="hidID" runat="server" />
              <asp:HiddenField ID="hidCID" runat="server" />
            </td>
        </tr>
      </table>
    </div>
    </form>
</body>
</html>
